package com.example.demo.controller;

import com.example.demo.zk.ZkClient;
import com.example.demo.zk.ZkDistributeLock;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.concurrent.SynchronousQueue;

@RequestMapping("/test")
@RestController
public class TestController {



    @GetMapping("hello")
    public  String hello(){
        return "hello world";
    }


}
